package com.qf.utils;

/**
 *
 * 用户统一返回数据格式：
 * code:表示请求的状态  200  500
 * msg:表示解析的附加信息 - 例如：登录成功  登录失败
 * data:表示返回的封装数据
 */
public class Result {

    private String code = "";
    private String msg = "";
    private String data = "";

    private int count;

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "Result{" +
                "code='" + code + '\'' +
                ", msg='" + msg + '\'' +
                ", data='" + data + '\'' +
                '}';
    }
}
